home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / applic / backup / 8mmbackup.shar / join.bug < prev    next >
Encoding:
Internet Message Format  |  1989-11-19  |  1.6 KB

  1. From klm Thu Apr 20 15:13:31 1989
  2. To: hotline@sun.com
  3. Subject: 3.5, 4.0{,.1} join bug
  4. Keywords: join bug bizarre sensitivity core dump
  5.  
  6. Issue: Unix 'join' utility dumps core when applied to certain very simple data
  7.  
  8.                  Environment
  9.                  -----------
  10. OS:    Sun OS 3.5, 4.0, 4.0.1
  11.  
  12. CPUs:     Apparently irrelevant - explicitly tested on 3/50, 3/180, 3/280
  13.  
  14. Severity: moderate
  15.  
  16.              Problem Description
  17.              -------------------
  18. Applied to specifically formed data in a specific mode, join works part
  19. way and then dumps core.
  20.                  Repeat By:
  21.                  ----------
  22. Given files:
  23.  
  24. "/tmp/base":
  25. a b
  26. b b b b b b b b b b b b b b b b b b b b
  27. <EOF>
  28.  
  29. and "/tmp/add":
  30. ac c
  31. <EOF>
  32.  
  33. then:
  34.  
  35. % join -a3 /tmp/base /tmp/add
  36. a b
  37. Segmentation fault (core dumped)
  38.  
  39. Some apparently crucial aspects of these files - a line in the first
  40. file ('/tmp/base'), other than the first line, must have exactly
  41. twenty fields in it, and that line must come up for comparison against
  42. a line from the other file ('/tmp/add').  I cooked down these files
  43. from a real situation where i was merging two files of well over one
  44. thousand lines apiece.  The situation is not artificial - the lines
  45. represent file-names followed by dates in a registry for a backup
  46. system, where the new items are being merged with the established
  47. entries.
  48.  
  49.  
  50. Ken Manheimer             klm@cme.nbs.gov or ..!uunet!cme-durer!klm
  51. National Institute of Standards and Technology
  52. (Formerly "National Bureau of Standards")
  53. CME Factory Automation Systems, Software Support
  54.  
  55. "For without the inner the outer loses its meaning; and without the outer,
  56.  the inner loses its substance." - R.D.Laing _The Politics of Experience_
  57.